package ooday04;

public abstract class Animal {
    String name;
    int age;
    String colour;

    Animal(String name,int age,String colour){
        this.name = name;
        this.age = age;
        this.colour = colour;
    }

    void drink(){
        System.out.println(age+"岁的"+colour+"色"+name+"在喝水……");
    }
    abstract void eat();



}
